package com.doubi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.doubi.entity.Forward;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ForwardMapper extends BaseMapper<Forward> {
    public Integer recentlyForward(@Param("rList") List<Integer> rList, @Param("dayTime") String dayTime, @Param("dayTime2") String dayTime2);

    //查询某一天我的视频总转发量
    public Integer todayForwardNum(@Param("rList") List<Integer> rList, @Param("dayTime") String dayTime);
}
